package com.eshop.we.service;


import com.alibaba.dubbo.config.annotation.Service;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.eshop.we.exchangeorder.dto.ExchangeOrderDto;
import com.eshop.we.exchangeorderdetail.api.ExchangeOrderDetailService;
import com.eshop.we.exchangeorderdetail.dto.ExchangeOrderDetailDto;
import com.eshop.we.exchangeorderdetail.entity.ExchangeOrderDetail;
import com.eshop.we.mapper.ExchangeOrderDetailMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 出租订单 服务实现类
 * </p>
 *
 * @author anonymity
 * @since 2018-07-04
 */
@Service(interfaceClass = ExchangeOrderDetailService.class)
@Component
public class ExchangeOrderDetailServiceImpl extends ServiceImpl<ExchangeOrderDetailMapper, ExchangeOrderDetail> implements ExchangeOrderDetailService {


    @Override
    public List<ExchangeOrderDto> selectExchangeRecord(Integer userId) {
        return baseMapper.selectExchangeRecord(userId);
    }
}
